MailPoet\Services\Bridge A

Total Complexity 54
Dependencies 5
Dependents 31
Total lines 336
Lines of code 210
Logical lines of code 86
Comment lines 43
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
storeKeyAndState()
A
48 10 35
processKeyCheckResult()
A
48 8 34
getAuthorizedSenderDomains()
S
57 4 17
getAuthorizedEmailAddresses()
S
65 4 9
isMailpoetSendingServiceEnabled()
S
64 3 9
buildKeyState()
S
66 3 8
isMPSendingServiceEnabled()
S
64 3 9
__construct()
S
71 2 6
storeSubscriptionType()
S
68 2 8
initApi()
S
67 2 8
updateSubscriberCount()
S
80 1 3
storePremiumKeyAndState()
S
79 1 3
checkPremiumKey()
S
72 1 6
storeMSSKeyAndState()
S
79 1 3
createAuthorizedSenderDomain()
S
70 1 6
checkMSSKey()
S
72 1 6
verifyAuthorizedSenderDomain()
S
74 1 5
createAuthorizedEmailAddress()
S
74 1 5
getApi()
S
80 1 3
pingBridge()
S
65 1 9
isPremiumKeySpecified()
S
72 1 5
isMSSKeySpecified()
S
72 1 5
invalidateMssKey()
S
67 1 8